package com.juc.threadPoolExecutor.threadPoolExecutor15.callerRunsPolicy;

public class RunA_1 {

	/**
	 * 
	 * CallerRunsPolicy:当任务添加到线程池中被拒绝时，会使用调用线程池的Thread
     * 线程对象处理被拒绝的任务
	 */
	public static void main(String[] args) {
		MyThreadA_1 a =  new MyThreadA_1();
		a.setName("AA");
		a.start();
		System.out.println(" main end !");
	}
}
